package com.spirit.mypopup;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.view.View;

import com.spirit.mypopup.pop.MyPop;
import com.spirit.mypopup.pop.PopWindowWidget;

public class Main4Activity extends AppCompatActivity {

    private PopWindowWidget myPop;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main4);

        myPop = new PopWindowWidget(this);

    }

    public void show(View view) {
        myPop.showPopWindow(view);
    }
}
